package com.soilflow.know.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.soilflow.common.annotation.DataScope;
import com.soilflow.common.domain.KnowsInfoReplies;
import com.soilflow.common.domain.KnowsInfoReplies;
import com.soilflow.common.domain.dto.KnowsInfoRepliesDto;
import com.soilflow.common.domain.vo.KnowsInfoRepliesVo;
import com.soilflow.common.domain.vo.KnowsInfoRepliesVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface KnowsInfoRepliesMapper extends BaseMapper<KnowsInfoReplies> {
    /**
     * 查询【百事通信息回复表】
     *
     * @param id 【百事通信息回复表】主键
     * @return 【百事通信息回复表】
     */
    KnowsInfoRepliesVo selectKnowsInfoRepliesById(Long id);

    /**
     * 查询【百事通信息回复表】
     *
     * @param 【百事通信息回复表】列表
     * @return 【百事通信息回复表】
     */
    @DataScope(deptAlias = "li")
    List<KnowsInfoRepliesVo> selectKnowsInfoRepliesList(KnowsInfoRepliesDto dto);
}
